<link rel="stylesheet" href="home/css/home.css">
<div class="home">
    <div ng-include="'common/header.html'"></div>
    <h2>首页</h2>
    <hr>
    <ul class="goods-list">
        <!-- ui-sref="goodDetail({id: g.id})" -->
        <li ng-repeat="g in goods">
            <img ng-src="{{ g.img }}" alt="">
            <p>{{ g.name }}</p>
            <button ng-click="add()">添加</button>
        </li>
    </ul>
</div>
